/*
 * @Descripttion: GGB
 * @version: 1.0
 * @Author: GGB
 * @Date: 2021-08-18 17:27:14
 * @LastEditors: GGB
 * @LastEditTime: 2021-08-18 17:28:14
 */
import 'package:flutter/material.dart';
import 'package:flutter_svg/flutter_svg.dart';
import 'package:line_icons/line_icons.dart';

class MusicControll extends StatelessWidget {
  const MusicControll({Key key}) : super(key: key);

  @override
  Widget build(BuildContext context) => Container(
        height: 70,
        child: Stack(
          alignment: Alignment.center,
          children: [
            Container(
              width: double.infinity,
              height: 55,
              decoration: BoxDecoration(
                color: Colors.white,
                borderRadius: BorderRadius.circular(30),
                boxShadow: [
                  BoxShadow(
                    offset: Offset(0, 0),
                    blurRadius: 14,
                    color: Color.fromRGBO(0, 0, 0, 0.08),
                  )
                ],
              ),
            ),
            Container(
              width: double.infinity,
              child: Row(
                mainAxisAlignment: MainAxisAlignment.center,
                children: [
                  Icon(LineIcons.angleLeft),
                  SizedBox(width: 30),
                  Container(
                    height: 70,
                    width: 70,
                    padding: EdgeInsets.all(10),
                    decoration: BoxDecoration(
                      color: Colors.white,
                      shape: BoxShape.circle,
                    ),
                    child: SvgPicture.asset('assets/icon/icon_play.svg'),
                  ),
                  SizedBox(width: 30),
                  Icon(LineIcons.angleRight),
                ],
              ),
            ),
            Positioned(
              right: 20,
              child: Center(
                child: Icon(LineIcons.bars),
              ),
            ),
          ],
        ),
      );
}
